package com.surfmanager.model.result;
// Generated Apr 4, 2014 7:05:16 PM by Hibernate Tools 3.6.0

import java.util.Set;
import java.util.TreeSet;




/**
        Nom, Prénom.
•	Nick Name.
•	Age.
•	Photo.
•	Adresse Mail.
•	Numéro de téléphone.
•	Note Appréciation participant:
•	Note Appréciation Organisateur :
•	Nombre de participations :
•	Nombre d’évènements organisés.

 * @author eamiker
 */

public class ProfileResult  implements java.io.Serializable {

   private int id;
    
     private String firstName;
    
     private String lastName;
    
     private String userName;
    
    
     private int age;
    
     private String password;
    
     private String email;
    
     private String phone;
            
     private int noteParticipant;
    
     private int noteOrganizer;
    
     private int participations;
    
     private int organizations;
    
     private String created;
    
    private Set<SurfSessionResult> sessions  = new TreeSet<SurfSessionResult>();
    
    
    public ProfileResult() {
    }

    public ProfileResult(int id, String firstName, String lastName, String userName, int age, String password, String email, String phone, int noteParticipant, int noteOrganizer, int participations, int organizations, String created) {
        this.id = id;
        this.firstName = firstName;
        this.lastName = lastName;
        this.userName = userName;
        this.age = age;
        this.password = password;
        this.email = email;
        this.phone = phone;
        this.noteParticipant = noteParticipant;
        this.noteOrganizer = noteOrganizer;
        this.participations = participations;
        this.organizations = organizations;
        this.created = created;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getNoteParticipant() {
        return noteParticipant;
    }

    public void setNoteParticipant(int noteParticipant) {
        this.noteParticipant = noteParticipant;
    }

    public int getNoteOrganizer() {
        return noteOrganizer;
    }

    public void setNoteOrganizer(int noteOrganizer) {
        this.noteOrganizer = noteOrganizer;
    }

    public int getParticipations() {
        return participations;
    }

    public void setParticipations(int participations) {
        this.participations = participations;
    }

    public int getOrganizations() {
        return organizations;
    }

    public void setOrganizations(int organizations) {
        this.organizations = organizations;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public Set<SurfSessionResult> getSessions() {
        return sessions;
    }

    public void setSessions(Set<SurfSessionResult> sessions) {
        this.sessions = sessions;
    }

    @Override
    public String toString() {
        return "ProfileResult{" + "id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", userName=" + userName + ", age=" + age + ", password=" + password + ", email=" + email + ", phone=" + phone + ", noteParticipant=" + noteParticipant + ", noteOrganizer=" + noteOrganizer + ", participations=" + participations + ", organizations=" + organizations + ", created=" + created + ", sessions=" + sessions + '}';
    }

   
    
    
    
}


